package com.bigdata.demo.dao;

import com.bigdata.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginDao {

    @Select("SELECT * FROM user WHERE username=#{username}")
    public User find_user_by_name(String username);
}
